#ifndef _TASKBAR_H_
#define _TASKBAR_H_

class wxIcon;
class wxFrame;
class wxWindow;

class wxTaskBarIconArea;

class wxTaskBarIcon: public wxTaskBarIconBase {
  public:
    wxTaskBarIcon();
    virtual ~wxTaskBarIcon();

    // Accessors:
    bool IsOk() const;
    bool IsIconInstalled() const;

    // Operations:
    bool SetIcon( const wxIcon& icon, const wxString& tooltip = wxEmptyString );
    bool RemoveIcon();
    bool PopupMenu( wxMenu *menu );

  protected:
    wxTaskBarIconArea *m_iconWnd;

  private:
    void OnDestroy( wxWindowDestroyEvent& );

    DECLARE_DYNAMIC_CLASS( wxTaskBarIcon )
};

#endif
